<table class="table table-striped table-bordered table-hover">

    <tr>
        <th width="160" height="40">A&ccedil;&otilde;es</th>
        <th width="30" align="center">Cor</th>
        <th>Nome</th>
        
    </tr>

    <?php

    $res = sql("SELECT * FROM meteorocor WHERE status='1'");

    while($linha = mysql_fetch_array($res)) {

    ?>

    <tr>

        <td height="40">

        <input name="excluir[]" type="checkbox" value="<?=$linha['met_cor_id'];?>"/><i class="icon-trash"></i> Excluir&nbsp;&nbsp;|&nbsp;
        <a href="?pag=meteorocor_alt&met_cor_id=<?=$linha['met_cor_id'];?>&titulo=Meteoro :: Cores :: Editar"><i class="icon-pencil"></i> Editar</a>

        </td>
        <td align="center">
            <div style='width: 25px;height: 25px; background-color:#<?=$linha['met_cor_cor'];?>'></div>
        </td>
        <td><?=$linha['met_cor_nome'];?></td>
        
    </tr>

    <?
    } 
    ?>
</table>